package cn.jett.domain.strategy.service.armory;

/**
 * @Author 战斗天使
 * @Description 策略抽奖调度
 * @Date 2024/6/16
 */
public interface IStrategyDispatch {
    /**
     * 根据策略id进行抽奖
     * @param strategyId
     * @return
     */
    Integer getRandomAwardId(Long strategyId);

    /**
     * 根据策略id和权重值进行抽奖
     * @param strategyId
     * @param ruleWeightValue
     * @return
     */
    Integer getRandomAwardId(Long strategyId,String ruleWeightValue);

    Boolean subtractionAwardStock(Long strategyId, Integer awardId);
}
